#include <iostream>

class MyObject {
public:
    MyObject() { std::cout << this << "Constructor\n"; }
    MyObject(const MyObject&) { std::cout << this  << "Copy Constructor\n"; }
    MyObject(MyObject&&) { std::cout << this  << "Move Constructor\n"; }
    ~MyObject() { std::cout << this << "Destructor\n"; }
};

MyObject processObject(MyObject obj) {
    return obj;  // 返回传入的对象
}

int main() {
    MyObject myObj;
    MyObject result = std::move(processObject(myObj));

    return 0;
}
